package com.wbao.dianniu.listener;

import android.content.Context;

public interface IRegister {

    /**
     * get mobile auth code
     *
     * @param mobile
     */
    void getAuthCode(Context context, String mobile);

    void register(Context context, String mobile, String code, String password);

    boolean addListener(IRegisterListener listener);

    boolean removeListener(IRegisterListener listener);

}
